Enable purge protection on key-vault-key-create vault#14760
Merged
alex-frankel merged 1 commit intoMay 13, 2026
Conversation
Contributor
Author
|
@alex-frankel — first, thanks for your patience and for the clear feedback on the previous round of PRs (#14739, #14740, #14741, #14742). Your write-up of the new This PR follows the contribution-guide workflow:
Ready for review / |
This was referenced May 13, 2026
Adds enablePurgeProtection: true to the vault in key-vault-key-create/main.bicep (and the regenerated azuredeploy.json). Without purge protection, soft-deleted vault contents can be permanently destroyed during the soft-delete retention window. Enabling purge protection guarantees the configured retention window is honored, which is the recommended Key Vault security baseline. Validation: - correlationId: 7347912a-341a-4d51-b344-9463a89d7a19 - deploymentName: kvk-deploy-e0068887 - region: eastus - provisioningState: Succeeded metadata.json updated with validationType: Manual and the testResult.deployments block. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
df6efbc to
37aba3e
Compare
Collaborator
|
@msmbaldwin - check this PR for updates that may be needed to documentation that references this sample. [This is an automated message. You are receiving it because you are listed as the docOwner in metadata.json.] |
Contributor
|
/validate |
🤖 Quickstart Sample SummarySample Summary
Resources Deployed
Security Findings
Key Parameters
Notes for Reviewers
Files Touched
Generated by the quickstart summarizer agent (v2 — agentic + MSDO security) · triggered by /validate |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
enablePurgeProtection: trueto the vault inkey-vault-key-create/main.bicep(and the regeneratedazuredeploy.json).Why
Without purge protection, a soft-deleted key can be permanently destroyed during the soft-delete retention window. For a quickstart that demonstrates creating a key, the recommended baseline is soft delete + purge protection both on.
softDeleteRetentionInDays: 90was already present.Validation
Deployed the updated
main.bicepto my subscription:correlationId: 7347912a-341a-4d51-b344-9463a89d7a19deploymentName: kvk-deploy-e0068887provisioningState: Succeededmetadata.jsonupdated withvalidationType: Manualand thetestResult.deploymentsblock.